SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'de4c8c040f9fdaca2e1f310b7db09cabb6e0bb8d1ba32765257793252c50b1ab' 
  AND token = 'qtMUBw0YdkKoAbEhCTU0K4MeGQMjfqtYhY+Ut/6wZTY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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