SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '80f32a424148ff74b0cc28987cb418ef654292b338134b0cbc03f9e1a6df31c8' 
  AND token = '87h6yVbzunMpr0ILpFcsjubX1M96DKLkfyZJXa58rWQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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