SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3335e5819fb2c6db5ad1d81f043569cef045e77cd4451f770d960e544383d45e' 
  AND token = 'Y9L1STL6fsnNGh/bHSDURVFm9kcT95CwUNpD4V/49zY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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