SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1340a4423797a0686a3546fb5cbb528ea905597cc289a2bf9caba54b8245f2db' 
  AND token = 'wGpqXuz6XruR0M60a+l0/PAloflzI0fDAA5cpD74wwk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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