SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '87ed9da33a0d114702536c14cfdd772f8cf91a020269a5c19ab6d1506851049e' 
  AND token = 'Sw0bfcbpTHeGBY/b03sAw9OGwduwDSeGaFQMb6wCctc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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