SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'db1bb29ddd869eb2881054bc78e47a7de8687e28d1b087d0eb0a3612d5bea386' 
  AND token = 'r4uNQBqonhAxxnkFLI7mJsFYPdcNi6fFSIQn+QYyF8s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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