SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38e9b8c7cf84d58da78838cf4b79e50db8e2788161a5534bf4f1b171af3832e6' 
  AND token = 'MRdKEykOvI3rLwzi3gv9dB4HucYxNteSTCDsI7TspK4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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