SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6f0e9f2d3d322db8d617a57904d8c7aa86248dd091bb71c57eeafbf95d17f223' 
  AND token = 'oPyf4jTs5iM5fYD4ZfmW+4HmAV3W/eq/ZfwvN9sSy7k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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