SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf7e0dfb0f48443a92c6f1052adcff832752a12d65420330a050f2c23d2a4f8c' 
  AND token = 'CDBmnBqyxh6T+UZwP/Q0XYOAwsqJrvfii+IaE/f2ZEo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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