SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af37894af31ce44eeefe641820831b8777eab8b9f743722b5d74193c4923fb34' 
  AND token = 'JlUXpYGtGOJSCcokPU1xCtJJ2KsetCLF5v1tB0q/quA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00076

JSON explain

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