SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '313cf30ad9a669ef9f0b393f359bf4bb4af5fd5a2d366d3d182a6e699120ae40' 
  AND token = '2s0NkqbKyDxpeVZoPxCQBIs6Z8D1jyEuIt3wRAC6oTA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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