SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd0f24d5af58dc422913095b65af9e26a1e33beb270ca397b1c6b767c748a67e1' 
  AND token = 'sHGiU7EZ221xA5eAVA4FFGaEySJ5mw6gEx81S8oAz5g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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