SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7facfaa5ea41668d92f745f551e4457ded6873ddc8f7bb8517baad0495d56df8' 
  AND token = 'Q3KgxqScjO4LBzJQyT5lYs6xIgRGBON3XhJb1TbKH8Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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