SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '214efa0c77a9784649f9123a955cb110b439d0b9802feae0619ab024e3ebb2a1' 
  AND token = 'iFlaU/lrkHpP58NzcEjUrl8buqck6dhVfMiUK+uGR88=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}