SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9b99cc017db2eb743ffdb0b27221d2c36550d22e53800e44e9f5896abc117766' 
  AND token = 't9rpEUbe2+JIE/ooORvDDTidt5gzACh121F7GgZnGrk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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