SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c704ea4a2f11998093eecf003397235167a278b12e56343e3cc4e22216a514f6' 
  AND token = 'pguc3YLZPa4m5MRlopbh0X/hc8MdceGc2Y3ogkeofY8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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