SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '87c74c64515904c13b38a5bf3d76c6446ec3eabec25854597d98344c69520e01' 
  AND token = 'D9haEnyO/4Gcbn7qzMflJvFuXs5tfYXAFYbT3Oeu46M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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