SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd50484702829ec98d3f613471379c3ce0e18b41e385e05a6672a25705eafb969' 
  AND token = 'V6sqXtWVaMVl41czID6+0HWGNkFyEUVdjXo2Gi1ZtS4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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