SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a5162fcc0b2712e4e5bd9112230d2439e1d990ac0bf37205c3403a8cb8a1ed1' 
  AND token = '7Psk2LIFOTG9wGXbViC9d6T3aSIVGe+VIxZp5soDbXs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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