SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b164c7ba1cf85318ebafa89562d6dd0c0ebf7b4232fc8f83c08d7f6fdd011368' 
  AND token = '6t/gxbvG5zIsw7BJ3A74JT0BoUI//nMV9DJ7X8kbbSI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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