SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a7b740c75fb7b8444689f75ca926d47fea89a8f7247430df5109b6e57a78383c' 
  AND token = 'CMmPgIWXxpgEUxKq3topFOMxnC2VCIdt8lS45k/y2NQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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