SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42d0dc31fc1ad253310186706735b3bcedfd9a37e39a2c2420652584c9b586ce' 
  AND token = 'zevXpqMGzEeI0ZcmjZn4VfWWh85qh3w9r2dysf6tGp0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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