SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f561a2daa18bd25ed25bbe03e352c6d67ecd34d125881d129092289112d459b' 
  AND token = 'c5kPFoLYVUkIDkGwjxVignYE80/hpLBV3DywVxwkqO0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}